# def function_tips():
#     '''功能:每天输出一条励志文字'''
#     import datetime             # 导入时间类
#     # 定义一个列表
#     mot = ["hha",
#            "hahaha",
#            "hehehe",
#            "tttttttt",
#            "wwwwwwwwwww",
#            "hgdhgdvgjfbadgi"]
#     day = datetime.datetime.now().weekday()
#     print(mot[day])
#     function_tips()

# def demo(obj):
#     print("形参值：", obj)
#     obj += obj
#     print("形参值：", obj)

# print("========值传递========")
# string = "这是第一个测试"
# print("调用函数前实参值：", string)
# demo(string)
# print("调用函数后实参值：", string)
# print("========引用实参=======")
# list1 = ['1', '2', '3', '4', '5']
# print("调用函数前实参值:", list1)
# demo(list1)
# print("调用函数后实参值：", list1)

# def fun_bmi(person, height, weight):
#     '''功能:根据身高和体重计算BMI的指数
#         person:姓名
#         height:身高，单位：米
#         weight:体重，单位：千克
#     '''
#     print(person + "的身高:" + str(height) + "米\t 体重:" + str(weight) + "千克")
#     bmi = weight/(height*height)
#     print(person + "的BMI指数为:" + str(bmi))
#     #
#     if bmi < 18.5:
#         print("您的体重过轻~@_@~\n")
#     if bmi >= 18.5 and bmi < 24.9:
#         print("正常范围，注意保持(-_-)\n")
#     if bmi >= 29.9: F
#         print("肥胖^@_@^\n")


from xml.dom.expatbuilder import FilterVisibilityController


def F(a, b=20, *x, **y):
    s = a+b
    for  i in x:
        s+=i
    for i in y.values():
        s+=i
Sum=F(2, 10, 1,2,2,3,4)